package com.jalarbee.stock.product.business;

public enum Unit {

    KG("KG", "KILOGRAM"),
    T("T", "TON"),
    L("L", "LITER"),
    G("GR", "GRAM"),
    U("U", "UNIT"),
    P("P", "PIECE"),
    B("B", "BOX"),
    BOT("BOT", "BOTTLE"),
    CAN("CAN", "CAN");
    
    private String symbol;
    private String denomination;

    private Unit(String symbol, String denomination) {
        this.symbol = symbol;
        this.denomination = denomination;
    }

    public String getDenomination() {
        return denomination;
    }

    public String getSymbol() {
        return symbol;
    }

    @Override
    public String toString() {
        return symbol;
    }
}
